﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ServiceInterfaces.DataContracts
{
    /// <summary>
    /// 等待移动的产品
    /// </summary>
    public class MoveOrderInfo
    {
        /// <summary>
        /// 产品编号
        /// </summary>
        public int OrderInfoId { get; set; }

        /// <summary>
        /// 照片数量
        /// </summary>
        public string PhotoNum { get; set; }

        /// <summary>
        /// 滚动条进度
        /// </summary>
        public int ProcessPosition { get; set; }

        /// <summary>
        /// 开单时间
        /// </summary>
        public DateTime OrderTime { get; set; }

        /// <summary>
        /// 产品状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 产品文件夹本机临时路径
        /// </summary>
        public string LocalPath { get; set; }

        /// <summary>
        /// 产品路径
        /// </summary>
        public string OrderPath { get; set; }
        /// <summary>
        /// 该产品的照片列表
        /// </summary>
        public List<MovePhotoInfo> photoList { get; set; }

    }

    /// <summary>
    /// 等待移动的照片
    /// </summary>
    [DataContract]
    public class MovePhotoInfo
    {
        /// <summary>
        /// 照片Id
        /// </summary>
        [DataMember]
        public int PhotoId { get; set; }

        /// <summary>
        /// 照片临时路径
        /// </summary>
        [DataMember]
        public string OldPicPath { get; set; }

        /// <summary>
        /// 照片目的路径
        /// </summary>
        [DataMember]
        public string PicPath { get; set; }

        /// <summary>
        /// 照片移动状态
        /// </summary>
        [DataMember]
        public int MoveStatus { get; set; }

        /// <summary>
        /// 错误消息
        /// </summary>
        [DataMember]
        public string ErrorMsg { get; set; }
        



    }

}
